package com.efast.dmom.equipment.statemach.handler.checking;

import java.util.Date;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.alibaba.fastjson.JSONObject;
import com.efast.dmom.equipment.entity.EquipCheckingOrder;
import com.efast.dmom.equipment.statemach.handler.base.HandleBaseProcessorService;

@Component
//@StatemachHandle(handleName="complete",configId=1000)
public class EquipCheckingOrderCompleteHandler implements HandleBaseProcessorService<EquipCheckingOrder>{


    @Override
    public void process(JSONObject taskBean, EquipCheckingOrder bean, Map<String,JSONObject> map) {
        //设置实际完成时间
       bean.setActualEndTime(new Date());
    }
}
